package com.ejlchina.cashier;


/**
 * 收款通知数据
 * 
 * @author Troy
 *
 */
public class CashNotifyData extends Res {

	/**
	 * 交易状态：待支付
	 */
	public static final int STATUS_PENDING = 1;
	/**
	 * 交易状态：支付成功
	 */
	public static final int STATUS_SUCCESS = 2;
	/**
	 * 交易状态：支付失败
	 */
	public static final int STATUS_FAILURE = 3;
	/**
	 * 交易状态：已关闭
	 */
	public static final int STATUS_CLOSED = 4;
	
	/**
	 * 交易类型：支付宝
	 */
	public static final int TYPE_ALIPAY = 1;
	
	/**
	 * 交易类型：微信
	 */
	public static final int TYPE_WX = 2;
	
	/**
	 * 交易类型：快捷
	 */
	public static final int TYPE_QUICK = 3;
	
	/**
	 * 交易类型：京东
	 */
	public static final int TYPE_JD = 6;
	
	/**
	 * 订单号
	 */
	private String orderNo;
	
	/**
	 * 交易状态
	 */
	private int status;
	
	/**
	 * 交易金额
	 */
	private long amount;
	
	/**
	 * 交易类型
	 */
	private int type;

	
	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public long getAmount() {
		return amount;
	}

	public void setAmount(long amount) {
		this.amount = amount;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}
	
}
